Add Mega event icon, Whereigo cache type.
authorrobertl <robertl>
Wed, 22 Jul 2009 18:34:18 +0000 (18:34 +0000)
committerrobertl <robertl>
Wed, 22 Jul 2009 18:34:18 +0000 (18:34 +0000)
defs.h
gpx.c
kml.c

diff --git a/defs.h b/defs.h
index 3564f09018082a43891ae0d1ff6183e7c07b284a..85f1f863310988608b5d3f0d6fdcb9362c7d84cc 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -237,7 +237,8 @@ typedef enum {
        gt_benchmark, /* Extension to Groundspeak for GSAK */
        gt_cito,
        gt_ape,
-       gt_mega
+       gt_mega,
+       gt_wherigo
 } geocache_type;
 
 typedef enum {
diff --git a/gpx.c b/gpx.c
index 6658ce2d30a421e2582897a2f2ab87ae18a084df..6e5876e9489f08f984ea87f32c2872fd6fdc939f 100644 (file)
--- a/gpx.c
+++ b/gpx.c
@@ -737,6 +737,7 @@ gs_type_mapping{
        { gt_locationless, "Locationless (Reverse) Cache" },
        { gt_ape, "Project APE Cache" },
        { gt_mega, "Mega-Event Cache" },
+       { gt_wherigo, "Wherigo Cache" },
 
        { gt_benchmark, "Benchmark" }, /* Not Groundspeak; for GSAK  */
 };
diff --git a/kml.c b/kml.c
index a026b31610fb42cf44974c9c79a051563ee316f7..29e809ff04074f810575e57d4b4f130d6f67932f 100644 (file)
--- a/kml.c
+++ b/kml.c
@@ -844,7 +844,8 @@ kml_lookup_gc_icon(const waypoint *waypointp)
                case gt_webcam: icon = "11.png"; break;
                case gt_cito: icon = "13.png"; break;
                case gt_earth:  icon = "earthcache.png"; break;
-               case gt_mega: icon = "6.png"; break; // No unique icon yet.
+               case gt_mega: icon = "453.png"; break; 
+               case gt_wherigo: icon = "1858.png"; break; 
                default: icon = "8.png"; break;
        }